package com.haixee.parkdemo.auth.service;


import com.haixee.parkdemo.auth.entity.dto.DataScopeDTO;
import com.haixee.parkdemo.auth.model.DataScope;
import com.haixee.parkdemo.auth.model.FieldRule;
import com.haixee.parkdemo.auth.model.FieldRuleShow;

import java.util.List;

public interface DataAccessService {

    DataScope getByAclId(Integer aclId);

    List<FieldRule> getFieldRules(Integer aclId, List<String> fields);

    List<DataScopeDTO> getByModuleId(Integer aclId);

    void updateScore(DataScope dataScope);

    List<FieldRuleShow> getFieldRuleShow(Integer aclId);

    void addFieldRule(FieldRule rule);

    void updateFieldRule(FieldRule rule);
}
